package io.seata.order.client;

import io.seata.common.dto.AccountDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;

/**
 * @author ZengRJ
 */
@FeignClient("account-service")
public interface AccountClient {

    @PutMapping("/account/deduct")
    void deduct(AccountDTO accountDTO);
}
